exponential equations using logarithms